package com.jiyongjun.component.config.slsak;

import com.jiyongjun.component.config.LogBootstrapConfig;
import lombok.AllArgsConstructor;

/**
 * <h2></h2>
 * <h3>描述：</h3>
 *
 * @author yongjun.jyj
 * @since 2022/7/14 17:25
 */
@AllArgsConstructor
public class DefaultLogSlsAccessAccountProvider implements LogSlsAccessAccountProvider {

    private LogBootstrapConfig logBootstrapConfig;

    @Override
    public String getAccessKey() {
        // todo 注意解密
        return logBootstrapConfig.getSlsAccessKey();
    }

    @Override
    public String getAccessId() {
        return logBootstrapConfig.getSlsAccessId();
    }

}
